package Controlador;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;

import Vista.menu.VistaElegirPartida;

public class ControlJugar implements ActionListener{
	
	JFrame frameABorrar;
	
	public ControlJugar(JFrame frame){
		
		frameABorrar = frame;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		
		frameABorrar.dispose();
		
		VistaElegirPartida vep = new VistaElegirPartida();
		vep.dibujar();
	}

}
